// my-content宽、高
$content-height: 3rem;
$content-width: 30rem;

::-webkit-scrollbar{
  width: 0!important;
}

// 主内容区
.my-content {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  font-family: myfont;
  line-height: $content-height;
  text-align: center;
  width: $content-width;
  animation: flow-out 2s;
  animation-fill-mode: forwards;

  // 紫玫瑰花
  .zimeigui {
    width: 8rem;
    height: auto;
    z-index: 9;
    position: absolute;
    right: -3.5rem;
    bottom: 0.8rem;
    transform: rotateZ(15deg);
  }

  // 桃花
  .taohua {
    width: 5rem;
    height: auto;
    z-index: 9;
    position: absolute;
    top: -1.3rem;
    left: -1.5rem;
  }

  // 花瓣
  .huaban {
    height: auto;
    z-index: 9;
    position: absolute;
    opacity: 0.4;
  }

  // 猫
  .cat {
    width: 5rem;
    height: auto;
    z-index: 9;
    position: absolute;
    bottom: 2rem;
    left: -1.5rem;
  }

  /* 背景与字体颜色 */
  div {
    background-color: rgb(242, 236, 228);
    color: #ff5bcc;
  }

  div:hover {
    color: #afa8ff;
  }

  // 遮板
  .board-wrapper {
    position: absolute;
    width: 90%;
    left: 5%;
    overflow: hidden;
  }

  // 遮板
  .board {
    position: absolute;
    z-index: 2;
    width: $content-width;
    height: $content-height;
  }


  // 翻页键，下一页
  .down-arrow {
    z-index: 99;
    position: relative;
    align-self: center;
    width: 2rem;
    background-color: rgba(207, 193, 255, 0);
    animation: delay-show 1s;
    animation-fill-mode: forwards;

    i {
      color: #9b6cff;
      font-size: 1.5rem;
      display: block;
      font-weight: bold;
      animation: move-arrow 3s;
      animation-iteration-count: infinite;
    }
  }

  .down-arrow:hover {
    i {
      color: #afa8ff;
    }
  }
}

// 显示my-content动画
@keyframes flow-out {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

// 展示遮板动画
@keyframes show-board {
  0% {
    left: 0
  }
  100% {
    left: $content-width
  }
}

// 翻页键动画
@keyframes move-arrow {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.5rem);
  }
  100% {
    transform: translateY(0rem);
  }
}

// 翻页键延迟显示
@keyframes delay-show {
  0% {
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}


